@use 'sass:color';
@use 'variables' as *;
@use 'mixins' as *;
@use 'transition' as *;
@use 'element-ui' as *;
@use 'sidebar' as *;

// 全局样式
html {
  height: 100%;
  box-sizing: border-box;
}

body {
  height: 100%;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

// 滚动条样式
html {
  @include scrollBar;
}

// 清除浮动
.clearfix {
  @include clearfix;
}

// 相对定位
.relative {
  @include relative;
}

// 主内容区域
.app-container {
  padding: 20px;
}